package com.xdxc.model;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.io.Serializable;
import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class Question implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long quId;
    private Integer quType;
    private String quTypeDictText;
    private String manual;
    private Integer answerOrder;
    private Double score;
    private String content;
    private String analysis;
    private String image;

    private List<SubList> subList;



    public List<SubList> getSubList() {
        return subList;
    }

    public void setSubList(List<SubList> subList) {
        this.subList = subList;
    }

    // Inner class for SubList
    public class SubList {
        // Define fields for SubList here
    }
}

